package com.csxy.yhj.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.csxy.yhj.entity.Caregiver;
import com.csxy.yhj.entity.vo.CareWebVo;
import com.csxy.yhj.entity.vo.CaregiverQuery;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

//alt+回车，点击implementInterface,点击impl包
@Service
public interface CaregiverService extends IService<Caregiver> {
    Page<Caregiver> pageListCaregiver(long page, long limit);


    void pageQuery(Page<Caregiver> pageParam, CaregiverQuery teacherQuery);




    //前端查询前4条热门护工
    List<Caregiver> selectHotTeacher();

    Map<String, Object> getTeacherFrontPageList(Page<Caregiver> teacherPage);
}